package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商管理对象 erp_supplier_management
 * 
 * @author erp
 * @date 2025-07-15
 */
@TableName("erp_supplier_management")
public class ErpSupplierManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商ID，主键 */
    @TableId("id")
    private int id;

    /** 供应商编码 */

    @Excel(name = "供应商编码")
    @TableField("supplier_code")
    private String supplierCode;

    /** 供应商简称 */
    @Excel(name = "供应商简称")
    @TableField("supplier_short_name")
    private String supplierShortName;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @TableField("supplier_full_name")
    private String supplierFullName;

    /** 付款方式（如：银行转账、支票等） */
    @Excel(name = "付款方式", readConverterExp = "如=：银行转账、支票等")
    @TableField("payment_method")
    private String paymentMethod;

    /** 联系人 */
    @Excel(name = "联系人")
    @TableField("contact_person")
    private String contactPerson;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @TableField ("email")
    private String email;



    @Excel(name = "供应商电话")
    @TableField ("supplier_phone")
    private String supplierPhone;

    /** 交易币种（如：人民币、美元等） */
    @Excel(name = "交易币种", readConverterExp = "如=：人民币、美元等")
    @TableField ("transaction_currency")
    private String transactionCurrency;

    /** 送货方式（如：快递、物流自提等） */
    @Excel(name = "送货方式", readConverterExp = "如=：快递、物流自提等")
    @TableField ("delivery_method")
    private String deliveryMethod;
    /** 上传状态（0：未上传，1：已上传） */
    @Excel(name = "上传状态", readConverterExp = "0=：未上传，1：已上传")
    @TableField ("upload_status")
    private Integer uploadStatus;

    @Excel(name = "审核意见")
    @TableField(value = "opinion")
    private String opinion;

    @Excel(name = "审核状态")
    @TableField ("audit")
    private int audit;
    @Excel(name = "选择")
    @TableField("choice")
    private int choice;

    public int getChoice() {
        return choice;
    }

    public void setChoice(int choice) {
        this.choice = choice;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierShortName() {
        return supplierShortName;
    }

    public void setSupplierShortName(String supplierShortName) {
        this.supplierShortName = supplierShortName;
    }

    public String getSupplierFullName() {
        return supplierFullName;
    }

    public void setSupplierFullName(String supplierFullName) {
        this.supplierFullName = supplierFullName;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getAudit() {
        return audit;
    }

    public void setAudit(int audit) {
        this.audit = audit;
    }

    public String getSupplierPhone() {
        return supplierPhone;
    }

    public void setSupplierPhone(String supplierPhone) {
        this.supplierPhone = supplierPhone;
    }

    public String getTransactionCurrency() {
        return transactionCurrency;
    }

    public void setTransactionCurrency(String transactionCurrency) {
        this.transactionCurrency = transactionCurrency;
    }

    public String getDeliveryMethod() {
        return deliveryMethod;
    }

    public void setDeliveryMethod(String deliveryMethod) {
        this.deliveryMethod = deliveryMethod;
    }

    public Integer getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(Integer uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierCode", getSupplierCode())
            .append("supplierShortName", getSupplierShortName())
            .append("supplierFullName", getSupplierFullName())
            .append("paymentMethod", getPaymentMethod())
            .append("contactPerson", getContactPerson())
            .append("email", getEmail())
            .append("supplierPhone", getSupplierPhone())
            .append("transactionCurrency", getTransactionCurrency())
            .append("deliveryMethod", getDeliveryMethod())
            .append("uploadStatus", getUploadStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
                .append("", getOpinion())

                .toString();
    }
}
